package com.ly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.entity.Activity;
import com.ly.pojo.dto.ActivityDTO;
import com.ly.pojo.vo.ActivityVO;

import java.util.List;

/**
 * @author : 黑渊白花
 * @date : 2025/2/8 22:13
 */

public interface ActivityService extends IService<Activity> {
    IPage<ActivityVO> getAllPage(ActivityDTO activityDTO);
    IPage<ActivityVO> getPage(ActivityDTO activityDTO);
    IPage<ActivityVO> getAuditPage(ActivityDTO activityDTO);
    List<Activity> getTActivityEnterNum();
    List<Activity> getEnterNumByTeamId(Integer teamId);
    List<Activity> getFiveByTeamId(Integer teamId);
    boolean deleteAll(Integer id);
    Long getActNumByTeamId(Integer teamId);

    ActivityVO getActById(Integer id);
    List<ActivityVO> searchActByType(String typeName);
    List<ActivityVO> getActsByStuId(Integer stuId);
}
